<template>
    <div class="mine">
      <div class="bg"></div>
      <div class="user">
        <div class="photo">
          <img width="100%" height="100%" src="https://img1.baidu.com/it/u=597067771,1206724455&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=500" />
        </div>
        <p class="name">武芮含</p>
        <div class="flex">
          <div class="flex_item">
            <p>音乐等级</p>
            <p>Lv6</p>
          </div>
          <div class="flex_item">
            <van-button class="van-btn" round type="info" >升级</van-button>
          </div>
        </div>
      </div>
      <div class="cellArea">
        <van-cell is-link to="address">
          <img width="20px" src="https://img95.699pic.com/xsj/1r/df/am.jpg%21/fh/300" alt="" />
          <div class="spanTitle">收藏歌单</div>
        </van-cell>
        <van-cell is-link to="phone">
          <img width="20px" src="https://img95.699pic.com/xsj/1r/df/am.jpg%21/fh/300" alt="" />
          <div class="spanTitle">最近播放</div>
        </van-cell>
      </div>
      
      

      <div class="logout_btn" @click="logout">退出登录</div>
    </div>
  </template>
  
  <script>
  
   
     
  </script>
  
  <style scoped>
  .mine{
    background-color: #e5edf5;
    height: 100vh;
  }
 
  .mine .bg {
    height: 180px;
    background-image: linear-gradient(to right, #030b0e, #83e8f4);
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
  }
  
  .mine .user {
    width: 80%;
    height: 170px;
    background-color: #fff;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.95;
    box-shadow: 4px 4px 4px 0 rgba(115, 128, 120, 0.5);
    border-radius: 8px;
    padding: 0 1em;
  }

  .user .photo {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-color: #f4dbc6;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .user .photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  
  .user .name {
    width: 50%;
    margin: 0 auto;
    margin-top: 3.5em;
    text-align: center;
  }
  
  .user .flex {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
  }
  .user .flex .flex_item {
    width: 24%;
    height: 40px;
    text-align: center;
    cursor: pointer;
  }
  .user .flex .flex_item p:first-child {
    margin-top: 15px;
    font-size: 16px;
    color: #999;
  }
  .user .flex .flex_item p:last-child {
    font-size: 22px;
    margin-top: -10px;
    color: #010210;
  }
 
  .mine .cellArea{
    margin: 110px auto;
 
    transition: 0.3s;
    width: 88%;
    .van-cell {
      box-shadow: 4px 4px 4px 0 rgba(115, 128, 120, 0.5);
      margin-bottom: 15px;
      border-radius: 8px;
    }
  }
  
  .van-cell .spanTitle,
  .van-cell img {
    font-size: 16px;
    margin-left: 10px;
    float: left;
  }
  
  .van-cell .van-cell__value {
    font-size: 14px;
    color: #636363;
  } 
  .logout_btn {
    width: 53%;
    height: 40px;
    background-image: linear-gradient(to right,#969da0, #b7dee5);
    text-align: center;
    color: #fff;
    border-radius: 22px;
    line-height: 40px;
    margin: 0 auto;
    margin-top: 2em;
    cursor: pointer;
  }
  .van-btn{
    margin-top: 17px;
    border: none;
    background-image: linear-gradient(to right,#b8bcc0, #9dcdf3);
  }
  </style>